/**
 * 
 */
package com.gragra.sampling.sequentialStructure;
/**
 * @author Christoph Teichmann
 * 20.07.2013
 */
public enum PunctEnvType implements ExtensionInformationValue
{
	/**
	 * 
	 */
	Followed,
	/**
	 * 
	 */
	Preceded,
	/**
	 * 
	 */
	Both,
	/**
	 * 
	 */
	Neither;
	/**
	 * 
	 */
	private int number = -1;
	/**
	 * 
	 */
	@Override
	public ExtensionInformationLevel getLevel()
	{return ExtensionLevels.PunctEnvTypeLevel;}
	/**
	 * 
	 */
	@Override
	public int getNumber()
	{
		if(number < 0)
		{
			for(int i=0;i<NumericalType.values().length;++i)
			{
				if(PunctEnvType.values()[i] == this)
				{return (number = i);}
			}
		}
		return number;
	}
}